package com.clearance.mine_clearance.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.clearance.mine_clearance.entry.BetInfo;
import com.clearance.mine_clearance.entry.dto.BetInfoDto;
import com.clearance.mine_clearance.entry.dto.RedPacketDto;
import com.clearance.mine_clearance.entry.vo.BetInfoVo;
import com.clearance.mine_clearance.entry.vo.RedPacketVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BetInfoMapper extends BaseMapper<BetInfo> {


    List<BetInfoDto> selectPage(BetInfoVo betInfoVo);
    Integer count(BetInfoVo betInfoVo);


    List<BetInfoDto> selectByRedPacketId(Integer id);
}
